package com.cf.lock.core;

import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.util.StringUtils;

@ConfigurationProperties(prefix = "zmm.lock")
public class ZLockProperties {

    private int order = 100;

    private String prefixLockKey = "zmm_lock";

    private boolean web = false;

    public boolean isWeb() {
        return web;
    }

    public void setWeb(boolean web) {
        this.web = web;
    }

    public int getOrder() {
        return order;
    }

    public void setOrder(int order) {
        this.order = order;
    }

    public String getPrefixLockKey() {
        return prefixLockKey;
    }

    public void setPrefixLockKey(String prefixLockKey) {
        this.prefixLockKey = prefixLockKey;
    }
}
